<template>
  <div class="list-item">
    <section class="bb">
      <div class="inner">
        <div class="info">
          <p>
           <span class="fs30">{{data.docter}} </span>
            <span class="fs26ccc">{{data.job}}</span>
          </p>
          <p class="c666">{{data.hospital}}</p>
        </div>
        <button class="round-btn" @click='goOrder'>预约</button>
      </div>
    </section>
  </div>
</template>

<script>
// import xlContent from '@c/content'
export default {
  name: 'drListItem',
  components:{
    // xlContent
  },
  props:['data'],
  data () {
    return {
      
      }
  },
  methods:{
    goOrder(){
      this.$router.push('/order-docter')
    }
  }
}
</script>
<style lang='scss' scoped>
section {
  padding: 20px 0 20px 3%;
  background-color: #fff;
  .inner {
    padding-right:3%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    color:#333;
    p{
      font-size: 26px;/*px*/
      &:first-child{
        margin-bottom:20px;
      }
    }
  }
}

.round-btn {
  width: 120px;
  height: 60px;
  background-color: #fb4700;
  color: #fff;
  font-size: 26px;/*px*/
  /*px*/
  border-radius: 30px;
}

</style>